Optimal. Leaf size=44 \[ -\frac {54 x^{5/2}}{5}+72 x^{3/2}-\frac {125 \sqrt {x}}{x+1}-450 \sqrt {x}+575 \tan ^{-1}\left (\sqrt {x}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 58, normalized size of antiderivative = 1.32, number of steps used = 5, number of rules used = 5, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.278, Rules used = {97, 153, 147, 63, 203} \begin {gather*} -\frac {\sqrt {x} (2-3 x)^3}{x+1}-\frac {21}{5} \sqrt {x} (2-3 x)^2-\frac {3}{5} (917-171 x) \sqrt {x}+575 \tan ^{-1}\left (\sqrt {x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 97
Rule 147
Rule 153
Rule 203
Rubi steps
\begin {align*} \int \frac {(2-3 x)^3 \sqrt {x}}{(1+x)^2} \, dx &=-\frac {(2-3 x)^3 \sqrt {x}}{1+x}+\int \frac {\left (1-\frac {21 x}{2}\right ) (2-3 x)^2}{\sqrt {x} (1+x)} \, dx\\ &=-\frac {21}{5} (2-3 x)^2 \sqrt {x}-\frac {(2-3 x)^3 \sqrt {x}}{1+x}+\frac {2}{5} \int \frac {\left (\frac {31}{2}-\frac {513 x}{4}\right ) (2-3 x)}{\sqrt {x} (1+x)} \, dx\\ &=-\frac {3}{5} (917-171 x) \sqrt {x}-\frac {21}{5} (2-3 x)^2 \sqrt {x}-\frac {(2-3 x)^3 \sqrt {x}}{1+x}+\frac {575}{2} \int \frac {1}{\sqrt {x} (1+x)} \, dx\\ &=-\frac {3}{5} (917-171 x) \sqrt {x}-\frac {21}{5} (2-3 x)^2 \sqrt {x}-\frac {(2-3 x)^3 \sqrt {x}}{1+x}+575 \operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {x}\right )\\ &=-\frac {3}{5} (917-171 x) \sqrt {x}-\frac {21}{5} (2-3 x)^2 \sqrt {x}-\frac {(2-3 x)^3 \sqrt {x}}{1+x}+575 \tan ^{-1}\left (\sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 38, normalized size = 0.86 \begin {gather*} 575 \tan ^{-1}\left (\sqrt {x}\right )-\frac {\sqrt {x} \left (54 x^3-306 x^2+1890 x+2875\right )}{5 (x+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.04, size = 38, normalized size = 0.86 \begin {gather*} 575 \tan ^{-1}\left (\sqrt {x}\right )-\frac {\sqrt {x} \left (54 x^3-306 x^2+1890 x+2875\right )}{5 (x+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.01, size = 37, normalized size = 0.84 \begin {gather*} \frac {2875 \, {\left (x + 1\right )} \arctan \left (\sqrt {x}\right ) - {\left (54 \, x^{3} - 306 \, x^{2} + 1890 \, x + 2875\right )} \sqrt {x}}{5 \, {\left (x + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.26, size = 32, normalized size = 0.73 \begin {gather*} -\frac {54}{5} \, x^{\frac {5}{2}} + 72 \, x^{\frac {3}{2}} - 450 \, \sqrt {x} - \frac {125 \, \sqrt {x}}{x + 1} + 575 \, \arctan \left (\sqrt {x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 33, normalized size = 0.75 \begin {gather*} -\frac {54 x^{\frac {5}{2}}}{5}+72 x^{\frac {3}{2}}+575 \arctan \left (\sqrt {x}\right )-450 \sqrt {x}-\frac {125 \sqrt {x}}{x +1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.96, size = 32, normalized size = 0.73 \begin {gather*} -\frac {54}{5} \, x^{\frac {5}{2}} + 72 \, x^{\frac {3}{2}} - 450 \, \sqrt {x} - \frac {125 \, \sqrt {x}}{x + 1} + 575 \, \arctan \left (\sqrt {x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.36, size = 32, normalized size = 0.73 \begin {gather*} 575\,\mathrm {atan}\left (\sqrt {x}\right )-\frac {125\,\sqrt {x}}{x+1}-450\,\sqrt {x}+72\,x^{3/2}-\frac {54\,x^{5/2}}{5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 1.33, size = 75, normalized size = 1.70 \begin {gather*} - \frac {54 x^{\frac {7}{2}}}{5 x + 5} + \frac {306 x^{\frac {5}{2}}}{5 x + 5} - \frac {1890 x^{\frac {3}{2}}}{5 x + 5} - \frac {2875 \sqrt {x}}{5 x + 5} + \frac {2875 x \operatorname {atan}{\left (\sqrt {x} \right )}}{5 x + 5} + \frac {2875 \operatorname {atan}{\left (\sqrt {x} \right )}}{5 x + 5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________